home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Development Tools & Languages / Dylan Related / Mindy-1.1 (sources only) / mindy-1.1 / comp / fileops.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-28  |  3.6 KB  |  136 lines  |  [TEXT/ttxt]

  1. /**********************************************************************\
  2. *
  3. *  Copyright (c) 1994  Carnegie Mellon University
  4. *  All rights reserved.
  5. *  
  6. *  Use and copying of this software and preparation of derivative
  7. *  works based on this software are permitted, including commercial
  8. *  use, provided that the following conditions are observed:
  9. *  
  10. *  1. This copyright notice must be retained in full on any copies
  11. *     and on appropriate parts of any derivative works.
  12. *  2. Documentation (paper or online) accompanying any system that
  13. *     incorporates this software, or any part of it, must acknowledge
  14. *     the contribution of the Gwydion Project at Carnegie Mellon
  15. *     University.
  16. *  
  17. *  This software is made available "as is".  Neither the authors nor
  18. *  Carnegie Mellon University make any warranty about the software,
  19. *  its performance, or its conformity to any specification.
  20. *  
  21. *  Bug reports, questions, comments, and suggestions should be sent by
  22. *  E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
  23. *
  24. ***********************************************************************
  25. *
  26. * $Header: fileops.h,v 1.9 94/06/27 16:49:17 wlott Exp $
  27. *
  28. * This file defines the various file opcodes.
  29. *
  30. \**********************************************************************/
  31.  
  32.  
  33. #define dbc_MagicNumber 0x6e789abe
  34. #define parse_MagicNumber 0x20e97ff6
  35.  
  36. #define file_MajorVersion 2
  37. #define file_MinorVersion 0
  38.  
  39. #define fop_FLAME 0
  40. #define fop_HEADER 1
  41. #define fop_STORE 2
  42. #define fop_SHORT_REF 3
  43. #define fop_REF 4
  44.  
  45. #define fop_FALSE 5
  46. #define fop_TRUE 6
  47. #define fop_UNBOUND 7
  48.  
  49. #define fop_SIGNED_BYTE 8
  50. #define fop_SIGNED_SHORT 9
  51. #define fop_SIGNED_INT 10
  52. #define fop_SIGNED_LONG 11
  53. #define fop_CHAR 12
  54. #define fop_SINGLE_FLOAT 13
  55. #define fop_DOUBLE_FLOAT 14
  56. #define fop_EXTENDED_FLOAT 15
  57.  
  58. #define fop_SHORT_STRING 16
  59. #define fop_STRING 17
  60. #define fop_SHORT_SYMBOL 18
  61. #define fop_SYMBOL 19
  62.  
  63. #define fop_NIL 20
  64. #define fop_LIST1 21
  65. #define fop_LIST2 22
  66. #define fop_LIST3 23
  67. #define fop_LIST4 24
  68. #define fop_LIST5 25
  69. #define fop_LIST6 26
  70. #define fop_LIST7 27
  71. #define fop_LIST8 28
  72. #define fop_LISTN 29
  73.  
  74. #define fop_DOTTED_LIST1 30
  75. #define fop_DOTTED_LIST2 31
  76. #define fop_DOTTED_LIST3 32
  77. #define fop_DOTTED_LIST4 33
  78. #define fop_DOTTED_LIST5 34
  79. /* Note: 35 is taken by '#' */
  80. #define fop_DOTTED_LIST6 36
  81. #define fop_DOTTED_LIST7 37
  82. #define fop_DOTTED_LIST8 38
  83. #define fop_DOTTED_LISTN 39
  84.  
  85. #define fop_VECTOR0 40
  86. #define fop_VECTOR1 41
  87. #define fop_VECTOR2 42
  88. #define fop_VECTOR3 43
  89. #define fop_VECTOR4 44
  90. #define fop_VECTOR5 45
  91. #define fop_VECTOR6 46
  92. #define fop_VECTOR7 47
  93. #define fop_VECTOR8 48
  94. #define fop_VECTORN 49
  95.  
  96. #define fop_VALUE_CELL 50
  97. #define fop_WRITABLE_VALUE_CELL 51
  98. #define fop_BUILTIN_VALUE_CELL 52
  99. #define fop_BUILTIN_WRITABLE_VALUE_CELL 53
  100.  
  101. #define fop_SHORT_COMPONENT 55
  102. #define fop_COMPONENT 56
  103. #define fop_SHORT_METHOD 57
  104. #define fop_METHOD 58
  105.  
  106. #define fop_IN_LIBRARY 60
  107. #define fop_IN_MODULE 61
  108. #define fop_SOURCE_FILE 62
  109. #define fop_TOP_LEVEL_FORM 63
  110. #define fop_DEFINE_CONSTANT 64
  111. #define fop_DEFINE_VARIABLE 65
  112. #define fop_DEFINE_GENERIC 66
  113. #define fop_DEFINE_METHOD 67
  114. #define fop_DEFINE_CLASS 68
  115. #define fop_DEFINE_LIBRARY 69
  116. #define fop_DEFINE_MODULE 70
  117.  
  118. #define fop_VARREF_EXPR 100
  119. #define fop_LITERAL_EXPR 101
  120. #define fop_CALL_EXPR 102
  121. #define fop_DOT_EXPR 103
  122. #define fop_METHOD_EXPR 104
  123. #define fop_BODY_EXPR 105
  124. #define fop_BLOCK_EXPR 106
  125. #define fop_IF_EXPR 107
  126. #define fop_VARSET_EXPR 108
  127. #define fop_LOOP_EXPR 109
  128. #define fop_REPEAT_EXPR 110
  129.  
  130. #define fop_EXPR_CONSTITUENT 120
  131. #define fop_LOCAL_CONSTITUENT 121
  132. #define fop_HANDLER_CONSTITUENT 122
  133. #define fop_LET_CONSTITUENT 123
  134.  
  135. #define fop_DONE 255
  136.